﻿using UnityEngine;

public class ButtonElement : IButtonAction {
	public ButtonElement(Texture texture) {
		_texture = texture;
	}

	public void Action() {
		MapEditorBaseData.GetInstance.TransparentObject.SetTexture(_texture);
	}

	// === Private ====================================================================================================
	private readonly Texture _texture;
}
